package com.szpx.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "zx_vip_information")
public class VipInformation {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer iid;  //id

    private String grade; //电影信息

    private String money; //电影图片

    private String score; //评价




    @Override
    public String toString() {
        return "vipInformation{" +
                "iid=" + iid +
                ", grade='" + grade + '\'' +
                ", score='" + score + '\'' +
                ", money='" + money + '\'' +
                '}';
    }

    public Integer getIid() {
        return iid;
    }

    public void setIid(Integer iid) {
        this.iid = iid;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

}
